package main

import "fmt"

//二进制
//111
//最左边1表示吃饭
//中间1代表睡觉
//右边1代表打豆豆

const (
	eat   int = 4
	sleep int = 2
	da    int = 1
)

func f(arg int) {
	fmt.Printf("%b\n", arg)
}
func main() {
	f(eat | da) //    100   001    ---101
}
